package com.github.appintro.internal;

import ohos.agp.components.ScrollHelper;
import ohos.app.Context;

public class ScrollerCustomDuration extends ScrollHelper {
    final double DEFAULT_SCROLL_DURATION_FACTOR = 6.0;

    public double getScrollDurationFactor() {
        return scrollDurationFactor;
    }

    public void setScrollDurationFactor(double scrollDurationFactor) {
        this.scrollDurationFactor = scrollDurationFactor;
    }

    private double scrollDurationFactor = DEFAULT_SCROLL_DURATION_FACTOR;

    public ScrollerCustomDuration(Context context) {
        super();
    }

    @Override
    public void startScroll(int startX, int startY, int dx, int dy) {
        super.startScroll(startX, startY, dx, dy);
    }
}
